<extend name="Public:base" />
<!-- 网站标题 -->
<block name="title">分组管理</block>
<block name="appendheader"> 
	<!-- 删除确认插件 --> 
	<script type="text/javascript" src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default"></script> 
	<script type="text/javascript" src="__PUBLIC__/artDialog/iframeTools.js"></script> 
	<script type="text/javascript" src="__PUBLIC__/common/js/list.js"></script> 
	<script type="text/javascript">
		$(function() {
			$("#WebMenu-2000").addClass('active');	//选中父菜单
			$("#WebMenu-1666").addClass('active');	//选中当前菜单
		});
	</script> 
</block>
<!-- 当前位置 -->
<block name="breadcrumb">
	<div class="page-header pull-left">
		<div class="page-title">分组管理</div>
	</div>
	<ol class="breadcrumb page-breadcrumb pull-left">
		<li><i class="fa fa-home"></i>&nbsp;<a href="__APP__?g=Admin">首页</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;</li>
		<li><a href="#">基础数据</a>&nbsp;&nbsp;<i class="fa fa-angle-right"></i>&nbsp;&nbsp;</li>
		<li class="active">分组管理</li>
	</ol>
</block>
<!-- 网页主内容区 -->
<block name="main_content">
	<div class="row">
		<div class="col-md-12">
			<div class="portlet box">
				<div class="portlet-body">
					<div class="row mbm">
						<div class="col-md-2"> <a href="__APP__?g=Admin&m=GroupForm&a=add" class="btn btn-success"><i class="fa fa-plus"></i>&nbsp;添加</a>&nbsp; <a href="javascript:confirm_deleteall();" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;批量删除</a> </div>
						<div class="col-md-4"> 
							<!-- 公用条件检索html（若特殊则需单独处理） --> 
							<include file="Public:search" />
						</div>
					</div>
					<form id="myform" name="myform" action="__APP__?g=Admin&m=GroupForm&a=delete" method="post" >
						<table class="table table-hover table-striped table-bordered table-advanced tablesorter">
							<thead>
								<tr>
									<th width="40"> <input class="checkall" type="checkbox" />
									</th>
									<th width="">序号</th>
									<th width="120">组名</th>
									<th width="120">列名</th>
									<th width="120">开始日期</th>
									<th width="120">结束日期</th>
									<th width="120">操作员</th>
									<th width="150">操作</th>
								</tr>
							</thead>
							<tbody>
								<volist name="list" id="vo">
									<tr>
										<td><input type="checkbox" id="ids" name="ids[{$i}]" value="{$vo.id}" /></td>
										<td>{$vo.id}</td>
										<td>{$vo.groupid}</td>
										<td>{$vo.formid}</td>
										<td>{$vo.begin_date}</td>
										<td>{$vo.end_date}</td>
										<td>{$vo.operator}</td>
										<td>
											<a type="button" href="__APP__?g=Admin&m=GroupForm&a=edit&id={$vo.id}" class="btn btn-blue btn-xs mbs"><i class="fa fa-edit"></i>&nbsp;编辑</a>&nbsp; 
											<a type="button" href="javascript:confirm_delete('ids[{$i}]')" class="btn btn-danger btn-xs mbs"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
										</td>
									</tr>
								</volist>
							</tbody>
						</table>
					</form>
					<!-- 显示分页信息 --> 
					{$show} 
			 	</div>
			</div>
		</div>
	</div>
</block>
